package com.studyroom.service;

import com.studyroom.dto.Result;
import com.studyroom.dto.RoomPageDTO;
import com.studyroom.entity.Room;
import org.springframework.stereotype.Service;

import javax.servlet.http.HttpServletRequest;


public interface RoomService {
    Result getPageByType(RoomPageDTO roomPageDTO);

    Result getById(Long id);

    Result add(Room room);

    Result getByUserId();

    Result delById(Long id);
}
